package dao;

import pojo.Order;

import java.util.List;

/**
 * @author Wxt
 * @create 2022-02-11 20:48
 */
public interface OrderDao {
    int saveOrder(Order order);
    List<Order> queryOrders();
    int changeOrderStatus(String orderId,int status);
    int queryForPageTotalCount();
    List<Order> queryOrdersByUserId(int userId);
    List<Order> queryForOrders(int begin,int pageSize);
}
